const http = uni.$u.http

export const deviceInfo = (params, config = {}) => http.get('/deviceInfo', params, config)
export const wifiConfig = (params, config = {}) => http.post('/wifiConfig', params, config)
export const wifiScan = (params, config = {}) => http.get('/wifiScan', params, config)
export const mqttRefresh = (params, config = {}) => http.get('/mqttRefresh', params, config)
export const mqttSubmit = (params, config = {}) => http.post('/mqttSubmit', params, config)
export const opera = (params, config = {}) => http.post('/opera', params, config)
